package cn.liontalk.CommandPattern.pattenr2;

import cn.liontalk.CommandPattern.Developer;
import cn.liontalk.CommandPattern.pattern1.Requirement;

public class DevelopCommand extends Command {


    private Developer developer;
    public DevelopCommand(Developer developer) {
        super(developer);
        this.developer = developer;
    }

    @Override
    public void execute(Requirement requirement) {
        this.developer.develop(requirement);
    }
}
